package icu.guodapeng.oauth2.service.impl;

import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * 用户管理业务类
 *
 * @author macro
 * @date 2020/6/19
 */
@Service
public class UserServiceImplControl {
    @Resource
    private PasswordEncoder passwordEncoder;

    @PostConstruct
    public void initData() {
        passwordEncoder.encode("123456");
    }
}
